<div class="khmauks view">
<h2><?php  __('Khmauk');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $khmauk['Khmauk']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($khmauk['Sinhvien']['id'], array('controller' => 'sinhviens', 'action' => 'view', $khmauk['Sinhvien']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($khmauk['Hknk']['id'], array('controller' => 'hknks', 'action' => 'view', $khmauk['Hknk']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ctdt'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($khmauk['Ctdt']['id'], array('controller' => 'ctdts', 'action' => 'view', $khmauk['Ctdt']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Khmauk', true), array('action' => 'edit', $khmauk['Khmauk']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Khmauk', true), array('action' => 'delete', $khmauk['Khmauk']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $khmauk['Khmauk']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Khmauks', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khmauk', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sinhviens', true), array('controller' => 'sinhviens', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sinhvien', true), array('controller' => 'sinhviens', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hknks', true), array('controller' => 'hknks', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hknk', true), array('controller' => 'hknks', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ctdts', true), array('controller' => 'ctdts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ctdt', true), array('controller' => 'ctdts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Monthamgiamauks', true), array('controller' => 'monthamgiamauks', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Monthamgiamauk', true), array('controller' => 'monthamgiamauks', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Monthamgiamauks');?></h3>
	<?php if (!empty($khmauk['Monthamgiamauk'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Khmauk Id'); ?></th>
		<th><?php __('Mon Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($khmauk['Monthamgiamauk'] as $monthamgiamauk):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $monthamgiamauk['id'];?></td>
			<td><?php echo $monthamgiamauk['khmauk_id'];?></td>
			<td><?php echo $monthamgiamauk['mon_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'monthamgiamauks', 'action' => 'view', $monthamgiamauk['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'monthamgiamauks', 'action' => 'edit', $monthamgiamauk['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'monthamgiamauks', 'action' => 'delete', $monthamgiamauk['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $monthamgiamauk['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Monthamgiamauk', true), array('controller' => 'monthamgiamauks', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
